<?php

namespace app\validate;

use think\Validate;

class Permission extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        "path"  => "require"
    ];

    protected $message  =   [
        'name.require' => '权限名称必填',
        'path.require' => '路径必填',
    ];
}
